export const whetherDict = [
    {code: '0', name: '否'},
    {code: '1', name: '是'}
]
export const categoryDict = [
    {code: '1', name: '首页轮播图'},
    {code: '2', name: '政策规定'},
    {code: '3', name: '招生百问'},
    {code: '4', name: '技能高考录取'},
    {code: '5', name: '普通批录取'},
    {code: '6', name: '艺术体育类录取'},
    {code: '7', name: '本专科提前批录取'},
    {code: '8', name: '志愿填报须知'},
    {code: '9', name: '基本政策规定'},
    {code: '10', name: '院校栏目'},
    {code: '11', name: '招生快讯'},
    {code: '12', name: '招生计划'},
    {code: '13', name: '招生简章'},
    {code: '14', name: '专业介绍'},
    {code: '15', name: '专题专栏'},
    {code: '16', name: '军队院校招生'},
    {code: '17', name: '港澳台招生'},
    {code: '18', name: '高职单招'},
    {code: '19', name: '特殊类型单招'},
    {code: '20', name: '通知公告'},
    {code: '21', name: '志愿填报'},
    {code: '22', name: '招生政策'},
    {code: '23', name: '要点解读'},
    {code: '24', name: '电子书'},
    {code: '24', name: '志愿填报指导'},
    {code: '24', name: '招生汇编'},
    {code: '24', name: '信息公示'},
    {code: '24', name: '招生计划'},
    {code: '24', name: '志愿填报'},
    {code: '24', name: '要闻公告'},
    {code: '24', name: '要点解读'}
]

export const lbList = [
    {
        code: 'code1',
        name: '普通高校招生',
        children: [
            {
                code: 'code1-1',
                name: '本科招生'
            },
            {
                code: 'code1-2',
                name: '专科招生'
            },
            {
                code: 'code1-3',
                name: '艺术体育'
            },
            {
                code: 'code1-4',
                name: '技能高考'
            },
            {
                code: 'code1-5',
                name: '可视化'
            },
            {
                code: 'code1-6',
                name: '军队院校招生'
            },
            {
                code: 'code1-7',
                name: '港澳台招生'
            },
            {
                code: 'code1-8',
                name: '高职单招'
            },
            {
                code: 'code1-9',
                name: '特殊类型招生'
            }
        ]
    },
    {
        code: 'code2',
        name: '探究生招生',
        children: [
            {
                code: 'code2-1',
                name: '政策规定'
            }
        ]
    },
    {
        code: 'code3',
        name: '成人高校招生',
        children: [
            {
                code: 'code3-1',
                name: '政策规定'
            },
            {
                code: 'code3-2',
                name: '公告快讯'
            }
        ]
    },
    {
        code: 'code4',
        name: '高中阶段招生',
        children: [
            {
                code: 'code4-1',
                name: '政策规定'
            }
        ]
    }
]
export const dtlxList = [
    {
        code: 'code1',
        name: '计划信息'
    },
    {
        code: 'code2',
        name: '政策规定'
    },
    {
        code: 'code3',
        name: '投档线'
    },
    {
        code: 'code4',
        name: '投档规则'
    },
    {
        code: 'code5',
        name: '录取规则'
    },
    {
        code: 'code6',
        name: '举报投诉'
    },
    {
        code: 'code7',
        name: '征集志愿'
    },
    {
        code: 'code8',
        name: '其他问题'
    }
]
export const dxlxList = [
    {code: '1', name: '典型'},
    {code: '2', name: '非典型'}
]
export const nameList = [
    {code: '1', name: '张三三'},
    {code: '2', name: '李思思'},
    {code: '3', name: '王五五'},
    {code: '4', name: '潘周聃'}
]
export const jslxList = [
    {code: '1', name: '学校管理员'},
    {code: '2', name: '省招办管理员'},
    {code: '3', name: '超级管理员'},
]
export const shztList = [
    {code: '1', name: '通过'},
    {code: '0', name: '不通过'},
]
export const yxlxList = [
    {code: '101', name: '综合院校'},
    {code: '102', name: '工科院校'},
    {code: '103', name: '农业院校'},
    {code: '104', name: '林业院校'},
    {code: '105', name: '医药院校'},
    {code: '106', name: '师范院校'},
    {code: '107', name: '语言院校'},
    {code: '108', name: '财经院校'},
    {code: '109', name: '政法院校'},
    {code: '110', name: '体育院校'},
    {code: '111', name: '艺术院校'},
    {code: '112', name: '民族院校'},
    {code: '113', name: '军事院校'}
]
export const colorList = [
    {code: '1', name: '黑色'},
    {code: '2', name: '蓝色'},
    {code: '3', name: '白色'},
    {code: '4', name: '红色'}
]
export const gxztList = [
    {code: '1', name: '已更新'},
    {code: '0', name: '未更新'}
]
export const lylxLst = [
    {code: '1', name: '奖励资助'},
    {code: '2', name: '录取查询'},
    {code: '3', name: '升学就业'},
    {code: '4', name: '收费标准'},
    {code: '5', name: '校园生活'},
    {code: '6', name: '新生报到'},
    {code: '7', name: '学校介绍'},
    {code: '8', name: '招生政策'},
    {code: '9', name: '志愿填报'},
    {code: '10', name: '专业优势'},
    {code: '11', name: '咨询电话'},
]
export const cityList = [
    {code: '420100', name: '武汉市'},
    {code: '420200', name: '黄石市'},
    {code: '420300', name: '十堰市'},
    {code: '420500', name: '宜昌市'},
    {code: '420600', name: '襄阳市'},
    {code: '420700', name: '鄂州市'},
    {code: '420800', name: '荆门市'},
    {code: '420900', name: '孝感市'},
    {code: '421000', name: '荆州市'},
    {code: '421100', name: '黄冈市'},
    {code: '421200', name: '咸宁市'},
    {code: '421300', name: '随州市'},
    {code: '422800', name: '恩施土家族苗族自治州'},
    {code: '429004', name: '仙桃市'},
    {code: '429005', name: '潜江市'},
    {code: '429006', name: '天门市'}
]
export const lmList = [
    {code: '1', name: '信息公示'},
    {code: '2', name: '招生计划'},
    {code: '3', name: '志愿填报'},
    {code: '4', name: '要闻公告'},
    {code: '5', name: '要点解读'},
    {code: '6', name: '首页轮播图'},
    {code: '7', name: '政策规定'},
    {
        code: '8', name: '招生百问', children: [
            {code: '81', name: '技能高考录取'},
            {code: '82', name: '普通批录取'},
            {code: '83', name: '艺术体育类录取'},
            {code: '84', name: '本专科提前批录取'},
            {code: '85', name: '志愿填报须知'},
            {code: '86', name: '基本政策规定'},
        ]
    },
    {
        code: '9', name: '院校栏目', children: [
            {code: '91', name: '招生快讯'},
            {code: '92', name: '招生计划'},
            {code: '93', name: '招生简章'},
            {code: '94', name: '专业介绍'},
        ]
    },
    {
        code: '10', name: '专题专栏', children: [
            {code: '101', name: '军队院校招生'},
            {code: '102', name: '港澳台招生'},
            {code: '103', name: '高职单招'},
            {code: '104', name: '特殊类型单招'},
        ]
    },
    {code: '11', name: '通知公告'},
    {code: '12', name: '填报指导'},
    {code: '13', name: '招生政策'},
    {code: '14', name: '电子书'},
    {code: '15', name: '招生汇编'}
]
export const dictFilter = (allList, codeList) => {
    return allList.filter(item => codeList.includes(item.code))
}